package com.hs.srm.admin.modules.notice.service;

import com.baomidou.mybatisplus.service.IService;
import com.hs.srm.admin.modules.notice.dictionary.NoticeKind;
import com.hs.srm.admin.modules.notice.entity.NoticeMainInfoEntity;

import java.util.List;

/**
 * @author wangpeidong
 * @email wangpdcn@163.com
 * @date 2018-07-07 14:53:31
 */
public interface NoticeMainInfoService extends IService<NoticeMainInfoEntity> {

    List<NoticeMainInfoEntity> getUserByKind(NoticeKind.KindEnum kind);

    int saveNotice(Long userId, String content);

    boolean saveNotice(NoticeKind.KindEnum kind, String content);
}

